Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an invalid notebook error #1675

Merged
merged 2 commits into from Dec 10, 2021
Merged

Conversation

gwincr11
Copy link
Contributor

@gwincr11 gwincr11 commented Nov 18, 2021

Motivation:

  • Our new service is serving a significant amount of notebooks a day. In this we are
    seeing a number of errors from Notebook rendering that really stem
    from notebooks not being properly formatted. These show up in a number
    of errors such as the error handled in this pr, an assertion error,
    we have also seen key errors and others. This pr is a bit of a proposal
    to instead introduced a common exception that indicates the notebook
    is missing some required data that is needed to render itself.

Motivation:
  - As we are now service hundreds of thousands of notebooks a day, we are
    seeing a number of errors from Notebook rendering that really stem
    from notebooks not being properly formated. These show up in a number
    of errors such as the error handled in this pr, an assertion error,
    we have also seen key errors and others. This pr is a bit of a proposal
    to instead introduced a common exception that indicates the notebook
    is missing some required data that is needed to render itself.
@Carreau
Copy link
Member

Carreau commented Dec 10, 2021

I would be happy to have a common exception with subclasses, that seem like a reasonable requests.

@Carreau
Copy link
Member

Carreau commented Dec 10, 2021

As we are now service a significant amount of notebooks a day,

For other readers "We" in this context is GitHub themselves.

Sorry for the delay in responding, the jupyter team is quite thin, and we don't always watch all the repos.

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
@Carreau Carreau merged commit 88ee3d3 into jupyter:main Dec 10, 2021
@gwincr11
Copy link
Contributor Author

Thank you @Carreau

@blink1073 blink1073 added this to the 6.4 milestone Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants